#include "debug.h"
#include "exti_systick.h"
#include "string.h"
void EXTI_CONFIG_INIT(void) {
    EXTI->INTENR = 0X00;
    EXTI->EVENR = 0X00;
    EXTI->RTENR = 0X00;
    EXTI->FTENR = 0X00;
    EXTI->SWIEVR = 0X00;
    EXTI->INTFR = 0X00;
}
void SysTick_CONFIG_INIT(void) {
    SysTick->CTLR = 0x00;
    SysTick->CNTL0 = 0x00;
    SysTick->CNTL1 = 0x00;
    SysTick->CNTL2 = 0x00;
    SysTick->CNTL3 = 0x00;
    SysTick->CNTH0 = 0x00;
    SysTick->CNTH1 = 0x00;
    SysTick->CNTH2 = 0x00;
    SysTick->CNTH3 = 0x00;
    SysTick->CMPLR0 = 0x00;
    SysTick->CMPLR1 = 0x00;
    SysTick->CMPLR2 = 0x00;
    SysTick->CMPLR3 = 0x00;
    SysTick->CMPHR0 = 0x00;
    SysTick->CMPHR1 = 0x00;
    SysTick->CMPHR2 = 0x00;
    SysTick->CMPHR3 = 0x00;
}
